#7_1while基础循环练习
#while循环，计算从1累加到100的和

sum = 0
i = 1
while i<=100:
    sum += i
    print(f"第{i}次循环,sum={sum}")
    i=i+1
